/*
 *    Copyright (c) 2020-2025, sunlei All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Author: sunlei (daizile@126.com) 爱帮科技
 * 作品裁判关联表
 */
/*
{
    page:{
        current:1, //当前页数
        size:10   //每页长度
    },
    cond:{ //条件
        eq:{ // 多条件对象
                        id,//Integer
                        judgeId,// 裁判的UserID
                        workId// 作品表主键ID
                    }
    }
}
 */
// 分页查询
function MatchWorkJudgmentPageList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/matchworkjudgment/pagequery","post",query,SuccessFunc,FailedFunc);
}
// 列表查询
function MatchWorkJudgmentqueryList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/matchworkjudgment/queryList","post",query,SuccessFunc,FailedFunc);
}

// 新增数据
function MatchWorkJudgmentSave(query,SuccessFunc,FailedFunc){
    slAjax("/abkj-api-match-provider/matchWorkExt/addMatchWorkJudgment","post",query,SuccessFunc,FailedFunc);
}

// 主键获取数据
function MatchWorkJudgmentgetObj(id,SuccessFunc,FailedFunc){
    slAjax("/abkj-api-match-provider/matchworkjudgment/"+id,"get",{},SuccessFunc,FailedFunc);
}

/**
 * 主键更新
 */
function MatchWorkJudgmentupdateById(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/matchworkjudgment/updateById","post",query,SuccessFunc,FailedFunc);
}
/**
 * 多条件 更新
 */
function MatchWorkJudgmentupdateByMulCond(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/matchworkjudgment/updateByMulCond","post",query,SuccessFunc,FailedFunc);
}
// 主键删除数据
function MatchWorkJudgmentdelObj(id,SuccessFunc,FailedFunc) {
  slAjax("/abkj-api-match-provider/matchworkjudgment/delete/"+id,"get",null,SuccessFunc,FailedFunc);
}
